using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Serialization;


    [CreateAssetMenu(fileName = "TargetResources-获得目标为己方资源槽", menuName = "Skill/Target/TargetResources-获得目标为己方资源槽")]
    public class TargetResources : TargetSelectorBase
    {
        private GameObject resource;
        public override List<Chess> SelectTargets(Chess chess,GameEvent e)
        {
            if (!resource)
            {
                resource = GameObject.Find(nameof(PlayerResourcesManager));
            }
            return new List<Chess>();
        }
    }
